import { post, get, put } from "../../utils/request.js"

// 获取所有的推荐列表
export const queryClass = (params) => get('/api/test/getRecommend', params)
// 获取banner
export const queryBanner = () => get('/api/banner')
// 获取测试详情
export const getTestInfo = (params) => get('/api/test/detail', params)
// 支付
export const payClass = (params) => post('/api/pay', params)
// 获取金刚区
export const getIcon = (params) => get('/api/icon/getIcon')
// 提交题目
export const saveTest = (params) => post('/api/report/finishTest', params)

